	<div id ="sub-menu">
	<%= link_to 'Afficher', {:controller => "rooms", :action => "show"}, :class => "bouton" %> 
	<%= link_to 'Back', {:controller => "rooms", :action => "index"}, :class => "bouton" %>
 	</div>	

	
<div id="formulaire">
	<h3>Editer la salle id: <%= @room.id %> </h3>
	
	<% form_for(@room) do |f| %>
		<%= f.error_messages %>

		
		<table class="table-form">	
		 	<tr>
			<td>numero de salle  :</td>
			<td><%= f.text_field :room_number %></td>
			</tr>
		
			<tr>
			<td>Nom de la salle :</td>
			<td><%= f.text_field :room_name %></td>
			</tr>
	</table>		
			<%= f.submit 'Mettre à jour', :class => "bouton1" %>
	<% end %>
</div>
